package com.ideaaedi.zoo.example.springboot.flowable.sharding.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ideaaedi.zoo.diy.artifact.flowable.facade.DefaultBpmnAttachment;
import com.ideaaedi.zoo.example.springboot.flowable.sharding.entity.dto.ShardingAttachmentListQueryDTO;
import com.ideaaedi.zoo.example.springboot.flowable.sharding.entity.po.ActHiAttachmentPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Administrator
 * @since 1.0.0
 */
@Mapper
public interface ActHiAttachmentMapper extends BaseMapper<ActHiAttachmentPO> {
    
    /**
     * 查询流程实例的附件
     *
     * @param param 参数
     *
     * @return  流程实例的附件
     */
    List<DefaultBpmnAttachment> getProcessInstanceAttachments(@Param("param") ShardingAttachmentListQueryDTO param);
}
